package com.ado.abyss.core.web;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author adonais
 * @date 2020/7/9
 * @description AbyssApplication
 **/
//@MapperScan(basePackages = "com.ado.abyss.core.dal.dao")
@SpringBootApplication(scanBasePackages = "com.ado.abyss.core")
public class AbyssApplication {

    private static final String MODULE_NAME = "[程序启动模块]" ;
    //定义日志
    private static final Logger log = LoggerFactory.getLogger(AbyssApplication.class) ;

    public static void main(String[] args) {
        SpringApplication.run(AbyssApplication.class , args) ;
        log.info("{} : {}" , MODULE_NAME , "Abyss Application started ...");
    }
}
